package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanMapper {
    List<NursingPlanVo> getListAll();

    void insert(NursingPlan nursingPlan);

    Page<NursingPlanVo> findByPage(String name, Integer status);

    NursingPlanVo selectById(Integer id);

    void update(NursingPlan nursingPlan);

    void updateStatus(Integer id, Integer status);

    void delete(Integer id);
}
